﻿@model ZhongheCms.Models.GswTblMember
@{
	
    Layout = "~/Views/Shared/_LayoutWebsite.cshtml";
    string mysel = "";
}
@section head
{
    <link href="/assets/sunjob/css/register.css" rel="stylesheet" />
    <link href="/assets/css/error.css" rel="stylesheet" />
     <script src="/assets/js/jquery.validate.min.js"></script>
    <script src="/assets/js/jquery.validate.unobtrusive.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#valiCode").bind("click", function () {
                this.src = "/GsnService/GetValidateCode?time=" + (new Date()).getTime();
            });

        });
    </script>
}

<div class="wrap-large" id="registerMainWrap" style="">
    <div class="column-wrap">
        <div class="column-head">
            <h2>会员注册</h2>
        </div>
        <div class="main-box">

            <div class="my-form-wrap">
                <form action="/SunJob/Register" autocomplete="off" id="verifymobileForm" method="post">

                    <div class="control-group">
                        <label class="controls-label" for="MemberType">会员类别：</label>
                        <div class="controls">
                            <select id="MemberType" name="MemberType" style="width: 200px; height: 30px">
                              
                                @foreach (var item in Model.BaseInfos.Where(x => x.FunctionId == 76))
                                {
                                    mysel = "";
                                    if (!string.IsNullOrEmpty(Model.MemberType) && Model.MemberType.Trim() == item.MasterType.Trim())
                                    {
                                        mysel = "select";
                                    }
                                    <option value="@item.MasterType" @mysel>@item.MasterType</option>
                                }
                            </select>
                            <div  style="margin-top:3px;color: red">若对会员类型不了解，请详阅新手指南</div>
                        </div>
                        
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="SchoolName">就读学校：</label>
                        <div class="controls">
                            <select id="SchoolName" name="SchoolName" style="width: 400px; height: 30px">
                            
                                  @foreach (var item in Model.BaseInfos.Where(x => x.FunctionId == 77))
                                {
                                    mysel = "";
                                    if (!string.IsNullOrEmpty(Model.SchoolName) && Model.SchoolName.Trim() == item.MasterType.Trim())
                                    {
                                        mysel = "select";
                                    }
                                    <option value="@item.MasterType" @mysel>@item.MasterType</option>
                                }
                            </select>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="MemberName">真实姓名：</label>
                        <div class="controls">
                            <input class="ipt-text" data-val="true" data-val-required="真实姓名不允许为空" data-val-length-min="2" data-val-length="真实姓名必须输入2个及2个以上字符" id="MemberName" name="MemberName" type="text" value="@Model.MemberName" autocomplete="off">
                            <span class="field-validation-valid " data-valmsg-for="MemberName" data-valmsg-replace="true"></span>
                             <div  style="margin-top:3px;color: red">请如实填写，以便收发信息和领取工资</div>
                        </div>
                          
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="Gender">性别：</label>
                        <div class="controls">
                            <select id="Gender" name="Gender" style="width: 200px; height: 30px">
                                @if (!string.IsNullOrEmpty(Model.Gender))
                                {
                                    <option value="@Model.Gender">@Model.Gender</option>
                                }
                                <option value="男">男</option>
                                <option value="女">女</option>
                            </select>
                        </div>
                    </div>
                     <div class="control-group">
                        <label class="controls-label" for="Gender">身高：</label>
                        <div class="controls">
                             <input class="ipt-text" id="BodyLength" maxlength="4" name="BodyLength" type="text" value="@Model.BodyLength" data-val="true" data-val-number="身高数据不正确" data-val-regex="身高数据不正确"
                                   data-val-regex-pattern="^(-?\d+)(\.\d+)?$" data-val-required="身高数据不正确" autocomplete="off">
                            <span class="field-validation-valid " data-valmsg-for="BodyLength" data-valmsg-replace="true"></span>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="Education">学历：</label>
                        <div class="controls">
                            <select id="Education" name="Education" style="width: 200px; height: 30px">
                                  @foreach (var item in Model.BaseInfos.Where(x => x.FunctionId == 78))
                                {
                                    mysel = "";
                                    if (!string.IsNullOrEmpty(Model.Education) && Model.Education.Trim() == item.MasterType.Trim())
                                    {
                                        mysel = "select";
                                    }
                                    <option value="@item.MasterType" @mysel>@item.MasterType</option>
                                }

                            </select>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="EnterSchoolYear">人学年份：</label>
                        <div class="controls">
                            <input class="ipt-text" id="EnterSchoolYear" maxlength="4" name="EnterSchoolYear" type="text" value="@Model.EnterSchoolYear" data-val="true" data-val-number="入学年份不正确" data-val-regex="入学年份不正确"
                                   data-val-regex-pattern="^(-?\d+)(\.\d+)?$" data-val-required="入学年份不正确" autocomplete="off">
                            <span class="field-validation-valid " data-valmsg-for="EnterSchoolYear" data-valmsg-replace="true"></span>
                            </div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="Major">所学专业：</label>
                        <div class="controls">
                            <input style="width: 400px; height: 30px"  id="Major"  name="Major" type="text" value="@Model.Major" autocomplete="off">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="MemberTel">联系电话：</label>
                        <div class="controls">
                            <input class="ipt-text" id="MemberTel"  name="MemberTel" type="text" value="@Model.MemberTel" data-val="true" data-val-required="联系电话不允许为空" autocomplete="off">
                            <span class="field-validation-valid " data-valmsg-for="MemberTel" data-valmsg-replace="true"></span>
                            @*<span id="errorMsgMobile"></span>*@</div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="MemberQQ">联系QQ：</label>
                        <div class="controls">
                            <input class="ipt-text"  id="MemberQQ" name="MemberQQ" type="text" value="" autocomplete="off">
                         </div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="MemberEmail">电子邮件：</label>
                        <div class="controls">
                            <input style="width: 400px; height: 30px"  id="MemberEmail"  name="MemberEmail" type="text" value="@Model.MemberEmail" autocomplete="off">
                            </div>
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="MemberUserName">用户名：</label>
                        <div class="controls">
                            <input class="ipt-text"  id="MemberUserName"  name="MemberUserName" type="text" value="@Model.MemberUserName" data-val="true" data-val-required="用户名不允许为空" data-val-remote="用户名已存在"  data-val-remote-url="/GsnService/CheckUserName" autocomplete="off">
                            <span class="field-validation-valid " data-valmsg-for="MemberUserName" data-valmsg-replace="true"></span>
                             <div  style="margin-top:3px;color: red">用户名可自定义</div>
                        </div>
                        
                    </div>
                    <div class="control-group">
                        <label class="controls-label" for="MemberPwd">登录密码：</label>
                        <div class="controls">
                            <input class="ipt-text"  id="MemberPwd"  name="MemberPwd" type="password" data-val="true" data-val-required="密码不允许为空" value="" autocomplete="off">
                            <span class="field-validation-valid " data-valmsg-for="MemberPwd" data-valmsg-replace="true"></span>
                            <div  style="margin-top:3px;color: red">密码长度不限，请谨记个人登陆密码</div>
                        </div>
                         
                    </div>
                    <div class="control-group">
                        <label class="controls-label">验证码：</label>
                        <div class="controls">
                            <input class="ipt-text-verify"  id="verifyCodePic" name="verifyCodePic" type="text" data-val="true" data-val-required="验证码不允许为空" data-val-remote="验证码错误"  data-val-remote-url="/GsnService/CheckVerifyCode" value="" autocomplete="off">
                            <img id="valiCode" style="cursor: pointer;" src="/GsnService/GetValidateCode" alt="验证码" />
                            <span class="field-validation-valid " data-valmsg-for="verifyCodePic" data-valmsg-replace="true"></span>
                        </div>
                    </div>
                     <div class="control-group">
                        
                        <div class="controls">
                         @Html.ValidationSummary(true)
                        </div>
                    </div>
                       



                    <div class="control-group submit-group" id="submitWrap">
                        <div class="controls">
                            <input type="submit" value="注册" title="注册" class="m-btn" autocomplete="off"></div>
                    </div>

                </form>
            </div>
        </div>
        <div class="sidebar-box">
            <div class="video-content">

                <dl>
                    <dt>注册须知</dt>
                    <dd>1. 个人会员必须同意使用本网站仅用于合法的目的
                    </dd>
                    <dd>2. 本网站保留对会员资料进行修改的权力

                    </dd>
                    <dd>3.未经个人会员的许可，本网站不会将其个人资料随意公开

                    </dd>
                    <dd>4.本网站有权在适当的时候调整服务收费或收取其他相关费用




                    </dd>
                    <dd>5.  请注册用户自觉遵守阳光职场兼职网管理规则，正确行使个人权利</dd>



                </dl>
                <dl>
                    <dt>普通会员</dt>
                    <dd>收费标准:普通注册会员不收任何费用




                    </dd>
                    <dd>办理资格:注册登录

                    </dd>
                    <dd>服务内容:提供兼职工作机会

                    </dd>
                   

                </dl>
                <dl>
                    <dt>优先卡会员</dt>
                    <dd>收费标准:80元/年




                    </dd>
                    <dd>办理资格:联系会员客服办理

                    </dd>
                    <dd>服务内容:优先安排兼职工作

                    </dd>






                </dl>
                <dl>
                    <dt>钻石卡会员</dt>
                    <dd>收费标准:<br />充完即做，做完即充<br />充10元保证做到110元
充50元保证做到600元<br />
充100元保证做到1300元<br />
                        充200元保证做到2800元<br/>
                        做满后需重新缴费才能继续享有服务。





                    </dd>
                    <dd>办理资格:联系会员客服办理

                    </dd>
                    <dd>服务内容:只要报名100%安排

                    </dd>






                </dl>
            </div>

        </div>
    </div>
    <div id="validateArea" class="dn">
        <span data-for="Mobile"></span>
    </div>
</div>

